﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MarvellousWorks.PracticalPattern.FactoryMethod.GenericFactory
{
    /// <summary>
    /// 抽象的泛型工厂类型
    /// </summary>
    /// <typeparam name="T">要创建对象的类型</typeparam>
    public interface IFactory<T>
    {
        T Create();
    }
}
